package org.stvd.core.dto.tree;

import java.util.ArrayList;
import java.util.List;

public class Tree {

    private String status;
    private List<TreeNode> data = new ArrayList<TreeNode>();

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<TreeNode> getData() {
        return data;
    }

    public void setData(List<TreeNode> data) {
        this.data = data;
    }

    public void addData(TreeNode node) {
        data.add(node);
    }
}
